package net.lzzy.practices.web.models;

import lombok.Getter;

/**
 * @author Jaymo 2022/5/12.
 * Description:
 *
 *
 */
@Getter
public class ApiResult {

    private  final boolean success;

    private  final  String message;

    private  final  Object data;

    public ApiResult(boolean success, String message, Object data) {
        this.success = success;
        this.message = message;
        this.data = data;
    }

   /** @Override
    public String toString(){
        return "ApiResult{" +
                "success=" + success +
                ", message='" + message + '\'' +
                '}';

    }
   */
}
